package com.zd.service.impl;

import com.zd.mapper.EnterpriseLocationMapper;
import com.zd.model.EnterpriseLocation;
import com.zd.service.IEnterpriseLocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EnterpriseLocationServiceImpl implements IEnterpriseLocationService {

    @Autowired
    private EnterpriseLocationMapper enterpriseLocationMapper;

    @Override
    public List<EnterpriseLocation> selectEnterpriseLocationInfo() {
        return enterpriseLocationMapper.selectEnterpriseLocationInfo();
    }

    @Override
    public EnterpriseLocation selectByPrimaryKey(int id) {
        return enterpriseLocationMapper.selectByPrimaryKey(Long.valueOf(id));
    }
}
